/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.space.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 区域管理导入VO对象
 *
 * @author liyue
 * @date 2021-11-09 15:09:42
 */
@Data
@ApiModel(value = "区域管理导入VO对象")
public class ExcelImportRegionalVO{

	@ExcelProperty(value = "父区域名称",index = 0)
	private String parentName;

	@ExcelProperty(value = "父区域编码",index = 1)
	private String parentCode;

	@DecimalMin(value = "0", message = "排序号必须大于0")
	@NotEmpty(message = "排序号不能为空")
	@ExcelProperty(value = "排序号",index = 2)
	private Integer ordernumber;

	@NotBlank(message = "区域名称不能为空")
	@ExcelProperty(value = "区域名称",index = 3)
	private String name;

	@ExcelProperty(value = "区域编码",index = 4)
	private String code;

	@ExcelProperty(value = "经度")
	private String x;

	@ExcelProperty(value = "纬度")
	private String y;

	@ExcelProperty(value = "占地面积")
	private String coverArea;

	@ExcelProperty(value = "建筑面积")
	private String floorage;

	@ExcelProperty(value = "门牌号")
	private String houseNumber;

	@ExcelProperty(value = "管理单位名称")
	private String mgmtUnitName;

	@ExcelProperty(value = "资产编码")
	private String assetNumber;

	@ExcelProperty(value = "区域地址")
	private String address;

	@ExcelProperty(value = "邮政编号")
	private String postalCode;

	@ExcelProperty(value = "所属土地名称")
	private String landName;

	@ExcelProperty(value = "备注")
	private String remarks;
}
